﻿DECLARE @CurrentMigration [nvarchar](max)

IF object_id('[dbo].[__MigrationHistory]') IS NOT NULL
    SELECT @CurrentMigration =
        (SELECT TOP (1) 
        [Project1].[MigrationId] AS [MigrationId]
        FROM ( SELECT 
        [Extent1].[MigrationId] AS [MigrationId]
        FROM [dbo].[__MigrationHistory] AS [Extent1]
        WHERE [Extent1].[ContextKey] = N'CaltechSoft.Service.Migrations.Configuration'
        )  AS [Project1]
        ORDER BY [Project1].[MigrationId] DESC)

IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Equipment]') AND type in (N'U'))
DROP TABLE [dbo].[Equipment]
GO

IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Customer]') AND type in (N'U'))
DROP TABLE [dbo].[Customer]
GO

IF  EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[dbo].[FK_dbo.CertificateDetails_dbo.Certificate_CertificateId]') AND parent_object_id = OBJECT_ID(N'[dbo].[CertificateDetails]'))
ALTER TABLE [dbo].[CertificateDetails] DROP CONSTRAINT [FK_dbo.CertificateDetails_dbo.Certificate_CertificateId]
GO

IF  EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[dbo].[FK_dbo.CertificateDetails_dbo.CertificateStandard_CertificateStandardId]') AND parent_object_id = OBJECT_ID(N'[dbo].[CertificateDetails]'))
ALTER TABLE [dbo].[CertificateDetails] DROP CONSTRAINT [FK_dbo.CertificateDetails_dbo.CertificateStandard_CertificateStandardId]
GO

IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[CertificateDetails]') AND type in (N'U'))
DROP TABLE [dbo].[CertificateDetails]
GO

IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[CertificateStandard]') AND type in (N'U'))
DROP TABLE [dbo].[CertificateStandard]
GO

IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Certificate]') AND type in (N'U'))
DROP TABLE [dbo].[Certificate]
GO

IF @CurrentMigration IS NULL
    SET @CurrentMigration = '0'

IF @CurrentMigration < '201405111549542_init'
BEGIN
    CREATE TABLE [dbo].[CertificateDetails] (
        [CertificateDetailsId] [int] NOT NULL IDENTITY,
        [CertificateId] [int] NOT NULL,
        [CertificateStandardId] [int] NOT NULL,
        CONSTRAINT [PK_dbo.CertificateDetails] PRIMARY KEY ([CertificateDetailsId])
    )
    CREATE INDEX [IX_CertificateId] ON [dbo].[CertificateDetails]([CertificateId])
    CREATE INDEX [IX_CertificateStandardId] ON [dbo].[CertificateDetails]([CertificateStandardId])
    CREATE TABLE [dbo].[Certificate] (
        [CertificateId] [int] NOT NULL IDENTITY,
        [CustomerId] [int] NOT NULL,
        [EquipmentId] [int] NOT NULL,
        [ConditionReceivedId] [nvarchar](max),
        [ConditionReturnedId] [nvarchar](max),
        [Temperature] [nvarchar](max),
        [RelativeHumidity] [nvarchar](max),
        [CalibrationCycle] [nvarchar](max),
        [CalibrationDate] [datetime] NOT NULL,
        [NextDueDate] [datetime] NOT NULL,
        [CertifiedBy] [nvarchar](max),
        [Technician] [nvarchar](max),
        [QualityInspector] [nvarchar](max),
        [Manufacturer] [nvarchar](max),
        [Description] [nvarchar](max),
        [ModelNumber] [nvarchar](max),
        [SerialNumber] [nvarchar](max),
        [PONumber] [nvarchar](max),
        [Procedure] [nvarchar](max),
        [AssetNumber] [nvarchar](max),
        [CreatedBy] [int] NOT NULL,
        [CreatedDate] [datetime],
        [UpdatedDate] [datetime],
        [UpdatedBy] [int] NOT NULL,
        CONSTRAINT [PK_dbo.Certificate] PRIMARY KEY ([CertificateId])
    )
    CREATE TABLE [dbo].[CertificateStandard] (
        [CertificateStandardId] [int] NOT NULL IDENTITY,
        [StandardNumber] [nvarchar](max),
        [Manufacturer] [nvarchar](max),
        [ModelNumber] [nvarchar](max),
        [DueDate] [datetime] NOT NULL,
        [TestReportNumber] [nvarchar](max),
        [CreatedBy] [int] NOT NULL,
        [CreatedDate] [datetime],
        [UpdatedDate] [datetime],
        [UpdatedBy] [int] NOT NULL,
        CONSTRAINT [PK_dbo.CertificateStandard] PRIMARY KEY ([CertificateStandardId])
    )
    CREATE TABLE [dbo].[Customer] (
        [CustomerId] [int] NOT NULL IDENTITY,
        [CustomerName] [nvarchar](max),
        [Address] [nvarchar](max),
        [ContactPerson] [nvarchar](max),
        [CreatedBy] [int] NOT NULL,
        [CreatedDate] [datetime],
        [UpdatedDate] [datetime],
        [UpdatedBy] [int] NOT NULL,
        CONSTRAINT [PK_dbo.Customer] PRIMARY KEY ([CustomerId])
    )
    CREATE TABLE [dbo].[Equipment] (
        [EquipmentId] [int] NOT NULL IDENTITY,
        [Manufacturer] [nvarchar](max),
        [Description] [nvarchar](max),
        [ModelNumber] [nvarchar](max),
        [SerialNumber] [nvarchar](max),
        [PONumber] [nvarchar](max),
        [Procedure] [nvarchar](max),
        [AssetNumber] [nvarchar](max),
        [CreatedBy] [int] NOT NULL,
        [CreatedDate] [datetime],
        [UpdatedDate] [datetime],
        [UpdatedBy] [int] NOT NULL,
        CONSTRAINT [PK_dbo.Equipment] PRIMARY KEY ([EquipmentId])
    )
    CREATE TABLE [dbo].[Term] (
        [TermId] [int] NOT NULL IDENTITY,
        [TermName] [nvarchar](max),
        [Description] [nvarchar](max),
        [Price] [decimal](18, 2),
        [IsPublished] [bit] NOT NULL,
        CONSTRAINT [PK_dbo.Term] PRIMARY KEY ([TermId])
    )
    ALTER TABLE [dbo].[CertificateDetails] ADD CONSTRAINT [FK_dbo.CertificateDetails_dbo.Certificate_CertificateId] FOREIGN KEY ([CertificateId]) REFERENCES [dbo].[Certificate] ([CertificateId]) ON DELETE CASCADE
    ALTER TABLE [dbo].[CertificateDetails] ADD CONSTRAINT [FK_dbo.CertificateDetails_dbo.CertificateStandard_CertificateStandardId] FOREIGN KEY ([CertificateStandardId]) REFERENCES [dbo].[CertificateStandard] ([CertificateStandardId]) ON DELETE CASCADE
    CREATE TABLE [dbo].[__MigrationHistory] (
        [MigrationId] [nvarchar](150) NOT NULL,
        [ContextKey] [nvarchar](300) NOT NULL,
        [Model] [varbinary](max) NOT NULL,
        [ProductVersion] [nvarchar](32) NOT NULL,
        CONSTRAINT [PK_dbo.__MigrationHistory] PRIMARY KEY ([MigrationId], [ContextKey])
    )
    INSERT [dbo].[__MigrationHistory]([MigrationId], [ContextKey], [Model], [ProductVersion])
    VALUES (N'201405111549542_init', N'CaltechSoft.Service.Migrations.Configuration',  0x1F8B0800000000000400ED5DCD6EE4B811BE07C83B083A25C1ACDBF65C36467B1733ED7162EC8EEDB8DB9BDC06B4C46E13D1DF4A946123C893E59047CA2BA4A85F52A224527FDD4E1A73698BE447B25855AC22AB38FFF9D7BF973FBEBA8EF182C388F8DEA57976726A1AD8B37C9B78BB4B33A6DBEFBE377FFCE1B7BF597EB1DD57E397BCDE47560F5A7AD1A5F94C6970B15844D633765174E2122BF4237F4B4F2CDF5D20DB5F9C9F9EFE717176B6C000610296612C1F628F1217277FC09F2BDFB3704063E47CF56DEC44D977285927A8C62D727114200B5F9A2BE4506C3DAF590F6B1CBE100B9F7C0134FA76FDD71300A2F8959AC627872018DB1A3B5BD3409EE7534461E4178F115ED3D0F776EB003E2067F31660A8B7454E84B3195D94D55527777ACE26B7281BE650561C51DFD5043CFB98516B516DDE8BE666414DA0674A2936EB84A6404E1C52B22516A2F80A53449CC834AADD5EAC9C9035E9207EFAE3A48EF8C190B4FB507013301DFB07B56287C621BEF4704C43E47C30EEE32787583FE1B78DFF77EC5D7AB1E3F0B381F94099F0013EDD877E0043787BC0DBC639DED8A6B110911655A802A81525A5CB8D473F9E9BC62D0C103D39B860288E866BEA87F84FD8C32100D8F788521C023FDCD838215B6D3CCDBD7777AB0CB5A6C8B351686B43DEA217B24B26D60C6E1A0FD849EA44CF24488591E78E6F32DEBB0E7DF7C177442449CD6F1B14EE3048FAC657AABEF6E3D0EA378F9C485DF3C9EBA9CFABA545DBFCDA9AC9E6B95C9462AFAA0C46D4020724FE03E57E56814FC88FC3A1D2FEE5D798042EF439586DF89E4DD8CC1EB085C90BE694066CA9602F98C657F4FA33F676F4F9D2849FC0F4E415DBF997AC93478F8079018D6818EBF409ACE1CDD2E706BB015B3360C5C9FB4A15CA0BFE73EC123B618AA9098A1CF214260CBA7AB39CE967C8757895A895B43FF67B0316A03617DE82797715E351B032C9C6F6E7E909BF01FD07F509F226EFEA2F6047032FDD7851802D50429377F81579F116594C62A6EFEC0A47564882D41C9E7A62CC1BB98DDDA719E605FB22F8233375767F375747A16F617B0E55FA298A309D6956AB10B33DBD541B3D77D41446AECBDA9B3E06F6C0A6DA835731950B73774ACB3F3771152DFFDC901E6A11976EC06896710E79401632EF110EB094D51DCBF12CE6BCCF9994C0ACBBDE9C3BD158E6D50647F401077E7854CBEF432D8F7B80D1A2A655CE3DFAA9EBCC691EACA3339CBD2B66EE10405B1B2B1F208C7F68C1FE9ADEE2B3ED1047D11C871014F4FC3D2CFA0C3EC7FF9F125396EEE2286BA8781740FB966FE1704E57C0354EF6C693F0A3AF7FF4F59B3A3AFAFA9D30FF53FA78834377A82A6618FBD6C26C0C7D1470DE6E2EDDCBFA9BC5B29A53EFDE87C42AF91A5BC4458E69DC87F02B8B49F9DE34D61662143DEF02BB891296889E71B12C9F7DF03ED8A97B2F9E074DE35B2459BDBA5B25F393C4E17DF16C43EF4C2B2576C53103B203EB9300981DC6082431AB4C7DE75D6107536C7CB2D23893158A2C64D7A90FF3B47B8EB1B891968EB17014C5A1FEA13602903B1C3286470E58D6114832F1685D4889679100395AE4ABA0E8DF063302155D574BAE70803D26AA5AE41A654C45D795C5ECA2E572C131B0325FB79D0328F08ED2A1809487CA23D6B9F95D291263BF7CAF40564D5E6B3EEBED2B070A641C758CA3CB45BA0B241E3F816DBABCC466E649115D5833791E239C593D51B6EB55798EC1AE316D3C9BC3C041E516D4C2660B65E40E441DA87C153A204BF9ED82CECE89A478C5195E0748E1FFCA50B8B3820E186655C91052EBB6D298631B29A1A447A75C23B5BBB02A9F6B9B11C51CAB0C511321EDDD5F0ECD717155018B24D32367EB89742B5995F7B021BB989C169CB0A8915B65F3198FECB9A95B28B9A26CB948C3ADB30FCB45435CF6F22B0A02F006B838EDEC8BB1CE82B4BF5BEBC72ABB29C6C28A2421CBC5688B9EC097423B5C2965A7B536BE266144C147464F8819FA2BDBAD5713557A838AC83B6BD1DAF515CEF548DE98FD16F691D6D87599D2AFEF9919F635908029B9841AB89547EA20060BAF470E0A95029D57BE13BB9E7A40B5620F2DD0BD31799BA101BBCDAC609C5FA16FCDF0A8AD72CDEA14394897BFA6E5AB610CD58B93C65B67EE5A4B006CBC2A6B4313CED079B89693F9D6D1C982648561CA2AF4C22F03621BF0CB0AEAF842F02B8F2B14A8E3D5035C79D07AA906256A91AC02196AA5BD90D333D706E02B8911DD862B84AEF2984281B6C64B8F7725B29516E8AC7D19A22A2E7DF95D1DAD1E85CA63D64BD591C52B281E552C514714CE3B7940A1406384FC5D923040BE401D4FBC2FE201C51275C4F25288472BBF6A2095B73E0254F9591D4BB8D7E1D184020D0929EF6E04F9283F6B634934025FA08E27DCEAF0784281365E75AEDCE743B4734A5F694A7BA738971864F734A3CC619336EA864AD4A3A01D2A65FBD4B163EB44E94EDA6317AD47298A7B5FB5F4A87DDEBBF629CE1EC75739F9D1650F3DD3D8741E47488CDC93E1A5251A9B791E9E276CE4F9472D97870FBFAB383B7CD15134DFB9687227FAA3CB667921A02F9C2D6DE73A58383A3D47A7470DEFA8DB0E52B7A5D78CA3ABB5E496525FA3C99B35DBC869A09B6819CB82E6BA50EAE645F9757FAA2B8B41134599D49F0B69C31042CF7824A1606676ACDDF555AB14BD17777E95BBBD6576CFA6F03053F5E22DADC262F9FC1762B34BB7F55B44B17BC22A9CAC7F75560E492EE8F30AB093912D385C6934A7797E7A765E79C9E9705E555A4491ED48EE29DB9F561257EE401E2F226C0D3A4353FB3F3254E9A9163C73E3D9F8F5D2FC47D2F2C2B8F9DB37A1F107E32E04E6B8304E8D7F8EFBD6518FE194201AC3EAF5FECE305619EDA19B6998A3969A967433FC659B3E302DEFDA782F28B49E51F83B17BDFE9E071EF876CD205CC9FB3483F09ADEA01936F9867766C602E5932198AD47477A4BA63796E42D9981AB5C7D2F66105CD39B30834065B9608300257907C30658CFE91A8427CBDB1A0458CDCD1A0656CDBF1A8426C9B11A26BCD53CAA5EBABA9E4525935895F148B2AA0642E94C6DD00324C34C83C95EF898C454903FEA71586A6B6C3533D69ED4F400C7518EF720C7D2FB9D7DBC0231A9459F9EE48CB1FD888F3B0CB5C4EB0F381C85607E2168B847D9CF5B0993C8C1D1243E9AC4472D32AD16A9DF5DCC99E63F89DAA866F61F94CA1032F4EDCE0C7D3D7049C6FE13E9CB2A5364EB1F4E4E7E91F8B6E744E4FDA5D937E743F518C0BBCCA93FBCCCF943E1CA9618DF9EC7213373E96164BAD7B227AB2CD095C8AE98C69E5E0EC37EF2E403EBA49A7E58BA7B57B67B478F3A5D95D2A6960DDFD1B576DA7C6BD6BCB433ED9CFAF6947A591F7A19F78D09F732E8434FC56F4ACF960872BB0E6DCFE0AD69E8779E5ADF9540BF37F269A4C8D7C363402773FFBB196C1411D99510ECFF3AF3B02568E3A2CE8DB7F5F33DA232A2BC4AD59D87B981A7853EB1D9B2332EE6F04651F254D72FC889995C82BF6ADF7877310D62CA5C58F7C91102E3D8E6D2D67FF20E8038E6E55DE25E44634C01864998B378E77D8E896317E3BE96D8FD0D106CD7CABC31B696947965BBB702E9D6F7148132F2159B2DBB6B77002CBAF3D6E805F719DB63847FC63B64BDE5514ECD20DD0B21927D7945D02E446E946194EDE14FE061DB7DFDE1BF10BA72DEE46F0000 , N'6.1.0-30225')
END

IF @CurrentMigration < '201405151425370_AutomaticMigration'
BEGIN
    ALTER TABLE [dbo].[Certificate] ADD [CertificateNo] [nvarchar](max)
    ALTER TABLE [dbo].[Certificate] ADD [Remarks] [nvarchar](max)
    INSERT [dbo].[__MigrationHistory]([MigrationId], [ContextKey], [Model], [ProductVersion])
    VALUES (N'201405151425370_AutomaticMigration', N'CaltechSoft.Service.Migrations.Configuration',  0x1F8B0800000000000400ED5DCD72DCB811BEA72AEFC0E229497935B27D7154A3DDB2252B51652D291A69939B0B22A1116AF9B704A8922A9527DBC33E525E210DFE02244802FC9B7132E5CB88003E00CDEE4677A3D9FECFAFBFAD7F78F13DEB19C79484C1A9FDF6E8D8B670E0842E09B6A776C21EBFFB60FFF0FDEF7FB7FEECFA2FD64F45BFF7BC1F8C0CE8A9FDC45874B25A51E709FB881EF9C489431A3EB22327F457C80D57EF8E8FFFBC7AFB768501C2062CCB5ADF2601233E4EFF803FCFC2C0C1114B90F72574B147F3E7D0B24951AD2BE4631A21079FDA67C863D879DAF01936387E260E3EFA0C68ECF5E21F4700C4F00BB3AD8F1E41B0B60DF61E6D0B0541C81083959FDC53BC6171186C37113C40DEDD6B84A1DF23F228CE77745275D7DDDCF13BBEB95535B0807212CA42DF10F0EDFB9C5AABFAF04134B74B6A023D334AF15DA7340572E2989147E22086CF3143C4A3B6559FF6E4CC8BF9901EE2673F8E9A886F2CC5B837253701D3F17FD02BF15812E3D300272C46DE1BEB2679F088F337FC7A17FE8C83D320F13C7137B01F68931EC0A39B388C6009AFB7F8B1758F97AE6DAD64A4551DAA04EA44C9E87219B0F7EF6CEB0A16881E3C5C329440C30D0B63FC171CE01800DC1BC4188E811F2E5D9C92ADB19EF6D9FBA7D586DA3014B828768D21AFD033D9A61B6B07B7AD5BECA57DE81389326114B9E3AB8AF72EE2D0BF0D3D1949D1F3EB1D8AB71824FD2ED4EABE0993D819B68F82487DFB29FAE9EFAB6344D7FEBA86A9F6B95E5562AFAB0C26D4027B24FE23E57E47027F1516D3C2D90507B36D7D412F3FE260CB9E4E6DF809DC455EB05B3CC997721F1038C761108B937E9D90BE6C1C8FD52D9F7F4948E4C30E472BA9307009A7E32D763079C6828A9A8F08D59CC088C12273DE613FE21C028C3FFB5C99FA7AC67F4D7CE2A62C38374191471EE2541CCE5E1D6FFE1D0A139EA74A2C9B8FFFBE037BD3980BAFC0983C4FF02458B94063F7D3FC84BF036D0BFD090A669FEAEF60B5032F5D0634C20EA8BCD927FC8282E411395C62E69FEC1C53272651667CCFBD31EEFB5C25FEC302FB825318BC9F8526BBB95E6AA23874B0BB842AFD4829660BEDEA167CBCF8673ABFF28C31B7542AF534F0E4CE60D43AB37BE87DE48E1C6ABC781D07A034E2E7F4670AC35DD39F29DC83B1767EE5DC4C66EF17907B64F78B7EEE08FB5FDF5D9ECE0F28E65C48D92C7ABA2E79E24D65C6DD61CA6E7114C64BA9FF835A1EA796A70DCB74A8699D68CE30759D3BE7A375748EB373C52C041B8CB5B176A062C2504C3E27FF6B7ECBD275634C17B0F6C280819EBF8197BE806FF3FFA7C4B4A5BB0C998D15EF1268D7F22D05014D05DC2082389D841F620A879842DB44FF933185833E2E1E37F4F11D8EFDB1AA9863EC5A0BF3350C51C0C5B8A5742F9F6F11CB6A49BD7B1313A7E26BEC101F79B67513C3AF3CD3E6836D6D1CC429FAAE0FEC92A62C419F70F95A3E85E07DF0E8FE209E074D133A247D7B4DB74AE527C9CBFB1CB896594C2B2376CD3103B203EB9308981DD60824B1EB4C7D1D9C630F336C7D74B2EC9933441DE436A90FFB7407AEB1BC6757AEB17414E5A5FEA9B102903B1C7386471E58D614249904AC29A4247048843C23F2D550CCEFB83981CAA9EB2DE738C201175523724DB2A672EADACBECA3E57A2530B0365F77C5013478472B28A0E4A12AC4BA34BF6BE597EC96EF35C86AC86BEDB1DEA172A041C649D738B95C64A740EAF11338A6ABCB726E9E9439930D93E79EE2DCEAA1F9A957E7390EBBC1AC3536878183AA23A883CD56DAC83D882650C55BE881ACE4B70F3A8F1329F1CA185E0F48E9FFAA508458410F0CB7AA540899755B1B2CB08D9250CAD0A93048EF2EACCEE7C66644B9C73A433444C8F8F457430B5C5C57C032C9CCC8D91991EE24ABF61936E61453D34210163D72EB1C3ED391BD30754B2557B6AD57591279FE60BD6AC9365F7F415104DE80907D9E3FB13679EAF9771BF30C6C3FC358395491885DAEB69C097C29B4C5B5561EAD75F1058929031F193D206EE89FB97EB39BACD25B5444315987D66EBEE1428F1483F96FE91CE9CCC85729FDE69999635F0009B8924BA9813B79A40962F18F06908762ADF4EDB3D04BFC403F4D5C73860EE8C198A2CDD082DD655670CEAFD1B7617834DE72C3EA9439C894BFE6E5AB710C358893E678CF3CDBB705933719600A57651260EBF55B179A149717E13AA2FD9DAB5325F84ACB547518845F25F3B6E0571DF4F1A5C45D11576AD0C76B26E78AA0CD56034A34B2702532345A07216771DC16E0738561DE852BA5DD8A985283B174652163856C650D26EFBE4AAF955F7DF55C1FAD99412B62365BF591E56B2D11556ED1479462A822A0D460B042F17E4A5AA0D8A08F27DF418980728B3E6275D124A2554F0D90AA9B2409AA7AAC8F25DD158968528389F6C9734C65A5933F3490B4EA5E4992B3EAB1319642B3880DFA78D28D9388273518E3D5F72A3CDE471BACF2E3E6B4C5CA98C9289BAC1D65097BB955C7D43232252D536BDBA5AE9E5AB72A4FE401A7713383523E43EBAD07EDF3AD6B9F322E3ABDCA29C2AA03F44CEBD0651C2A39AB508597B518180545EAA06410140F8D5C273135B0E634894D07D1FCC64553B86D985C36ABCB0A73E1EC18BB5480E2E03C1D9C273DBC836EDB4BDD965D814EAED6D21B54738DA61ED66E23674978B265AC4AE8EB43699A17D5D3DDA9AE3C3F4E1665D22CD0D28521A5C5894852C3C2ECD8B887AC7729672FEF236BF78EEBFC0E50A31456FD5230EBC2F30CC367E2F20BC1CD2B65D83FE21D8E36BF78671E4993078A0E7092914770B8B24C53FBDDF1F1875AEDACFDA963B5A2D4F51477A8DDC5ACE437B727E5A2087F07BD69B3C3CB3AD5666A24F65C062E7E39B5FF958E3CB12EFFF9551AFCC6BA8E81394EAC63EBDFD356971AB09C0AC46059832A1E8D6395C94A0BCDCD1C5535A1E019C5CE138AFFE0A3973F8A90C32A06A50B1F5F2F68084C47B5A0719B6CAF08340A5751F567145E5B659F719B6FA9DE3315A8F8E907B71ED944157A0663292AF48C7CCBF52A3CA3E0DA2AED8C02557DF9360A50F195C5B80536BF601B85A7FA4A6D1460FD4BB47160F5AFCD46A129BE281BA966A44A34E31441FD0BB4417ABFF9FD994AFA75D6A3F81E6D2494C9D646956E1967B8CC561B651643465D0E65BF54E0D42A6BAAF3ADAD74C9418E7720C7CADBA75DD4CF98C7DF5094CC187794C96531C65AF5CDD2170721585E085A6E797653656216393898D707F3FAA045E6D522CD9B95250B24CCA236EA3511F64A6548B50DDCDEDA0666E08A5A070F6428ABCC51E7607FAA19949F0CEEF813EEDD152868FF926CC002BEC96A04FB5773605FB8B2230379603864612EDD8F1A018DEF4EEB2CD0570240B3004076750DE7C903BF9ECA34FDB842017D75027A663499AA9236BD3A023D531B171CE8AC37A09CCCB81A41773102D51C66B50A5A4B15A8A0F7BD8841DB87ED0A41EED6A1DDDF3E3734F4375E94A0AFF4C0CEC867505CA099BC033A59F8DFEEE0A0A0645B41F0FFFB2EC08EA48DCB3E97C163589C11B515155DEAEE3CEC0D3C2DF491EF96C7B8B8C34B695AE4EC27E4255C2EC15F752F83EB844509E32EACFFE049697BFC70E99A3FADA020AF797D9DBA17748A2DC032097716AF834F09F1DC72DD170ABBBF05829F5AB937C6DF25E35ED9F6B544BA0A034DA09C7CE561CBEFED3D00A3D7C1063DE3216BBBA7F847BC45CE6B9183D50ED2FF2264B2AFCF09DAC6C8A73946351EFE041E76FD97EFFF0B8AA183CDF4710000 , N'6.1.0-30225')
END

